package mipo.top.base.service;

import mipo.top.base.query.BaseQuery;
import mipo.top.base.util.PageUtil;


import java.util.List;

public interface BaseService<T> {
    List<T> findall();

    T findone(Long id);

    void save(T t);

    void update(T t);

    void remove(Long id);

    PageUtil<T> queryData(BaseQuery query);

    void patchremove(List<Long> ids);
}
